package com.kingdee.eas.crm.sales;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class SaleContractFactory
{
    private SaleContractFactory()
    {
    }
    public static com.kingdee.eas.crm.sales.ISaleContract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.crm.sales.ISaleContract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6756BAFD") ,com.kingdee.eas.crm.sales.ISaleContract.class);
    }
    
    public static com.kingdee.eas.crm.sales.ISaleContract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.crm.sales.ISaleContract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6756BAFD") ,com.kingdee.eas.crm.sales.ISaleContract.class, objectCtx);
    }
    public static com.kingdee.eas.crm.sales.ISaleContract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.crm.sales.ISaleContract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6756BAFD"));
    }
    public static com.kingdee.eas.crm.sales.ISaleContract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.crm.sales.ISaleContract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6756BAFD"));
    }
}